"." />
SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55117: The error "Could not find platform resource for " occurs when you initialize SAS® Environment Manager framework

DetailsAboutRate It

The initialization of the enhanced monitoring bundle is the first step that is required in the process to fully enable the SAS® Environment Manager Service Architecture. The script that is used to initialize the enhanced monitoring-bundle framework is as follows:

  • For UNIX operating environments:
    $ ./emi_init.sh -I
  • For Microsoft Windows operating environments:
    emi_init.bat -I

After you submit the script, the following error might occur:

ERROR [main] [createHTTPChecks] - Could not find platform resource for <servername>.  Ensure the Agent is
properly configured.

ERROR [main] [emiInit] - Error rc = [2] running createHTTPChecks [[-x, -v, -d]], check log. 
May need to rerun with -f

This error occurs when the createHTTPChecks.groovy file does not retrieve the fully qualified domain name for the host name.

The createHTTPChecks.grovy file can be found in the root\Lev1\Web\SASEnvironmentManager\emi-framework\Scripts directory.

As a workaround, modify the createHTTPChecks.groovy file, as follows:

  1. Locate the def platform line in the createHTTPChecks.groovy file. The line should look similar to the line shown here:
    def platform = hq.api.resourceApi.getPlatformResourceByFqdn(host-name, false,false).resource
  2. Change the value for host-name to the fully qualified domain name surrounded by double quotation marks. For example, if the value for host-name is sasbi.demo.sas.com, the code appears similar to the following:
    def platform = hq.api.resourceApi.getPlatformResourceByFqdn("sasbi.demo.sas.com", false,false).resource
  3. Add the -f command to the emi_init script to re-initialize and overwrite setting and re-run the script.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Environment Manager64-bit Enabled AIX2.49.4 TS1M29.4 TS1M3
Microsoft® Windows® for x642.49.4 TS1M29.4 TS1M3
HP-UX IPF2.49.4 TS1M29.4 TS1M3
64-bit Enabled Solaris2.49.4 TS1M29.4 TS1M3
Solaris for x642.49.4 TS1M29.4 TS1M3
Linux for x642.49.4 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.